home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sources / xbmbrows / xbmbro31.z / xbmbro31 / xbmbrowser3.1 / Imakefile < prev    next >
Makefile  |  1993-08-05  |  1KB  |  30 lines

  1. PROGNAME = xbmbrowser
  2. BROWSERDIR = $(LIBDIR)$(PATHSEP)$(PROGNAME)
  3.  
  4. HELPFILE = -DHELPFILE=\"$(BROWSERDIR)$(PATHSEP)$(PROGNAME).help\"
  5. DEFAULT_RC_FILE = -DDEFAULT_RC_FILE=\"$(BROWSERDIR)$(PATHSEP)$(PROGNAME).menu\"
  6. HOME_DIR_FILE = -DHOME_DIR_FILE=\".$(PROGNAME)rc\"
  7. XPM_INC = -I/usr/local/include
  8. XPM_LIB = -L$(LIBDIR)/xpm -lXpm
  9.  
  10. # comment out the following if you do not wish to include xpm browsing
  11. DO_XPMS = -DDO_XPMS
  12.  
  13. #   CDEBUGFLAGS = -g
  14.     CDEBUGFLAGS = -O -DNDEBUG
  15. #ifdef HPArchitecture
  16.     CCOPTIONS = -Aa -D_HPUX_SOURCE
  17. #endif
  18.         DEFINES = $(HELPFILE) $(DEFAULT_RC_FILE) $(HOME_DIR_FILE) $(DO_XPMS) $(XPM_INC)
  19.         DEPLIBS = XawClientDepLibs
  20. LOCAL_LIBRARIES = $(XPM_LIB) XawClientLibs
  21.            SRCS = xbmbrowser.c bitmaps.c callbacks.c misc.c user-menu.c
  22.            OBJS = xbmbrowser.o bitmaps.o callbacks.o misc.o user-menu.o
  23.  
  24. ComplexProgramTarget(xbmbrowser)
  25. MakeDirectories(install,$(BROWSERDIR))
  26. InstallNonExec($(PROGNAME).help,$(BROWSERDIR))
  27. InstallNonExec($(PROGNAME).menu,$(BROWSERDIR))
  28. InstallAppDefaults(XbmBrowser-color)
  29.  
  30.